<?php

/**
 *
 * @File  : quotations.ajax.php
 * @Date : Sep 4, 2013
 * @Encoding:UTF-8
 * @Developer : Mohsin
 * @Lead : Mr. Mayuresh Bhomkar
 * @Copyright : Softcell Technologies Pvt. Ltd. *
 */
require_once $_SERVER['DOCUMENT_ROOT'] . "/crm/quotation/quotation_view.class.php";
$quotation = new quotation_view();

switch ($_REQUEST['op']) {
    case "load_contacts":
        echo json_encode(array("internal_contacts" => $quotation->getContactDetails()));
        //echo json_encode(array("internal_contacts" =>"{id:0,text:'enhancement'},{id:1,text:'bug'}"));
        break;
    default:
        print_r($_REQUEST);
        break;
}
?>
